package com.xmy.cultivate.service;

import com.xmy.cultivate.entity.RoleAdmin;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author min
 * @since 2022-09-09
 */
public interface IRoleAdminService extends IService<RoleAdmin> {


    /**
     * 根据账号id获取角色id列表
     *
     * @param adminId
     * @return
     */
    public List<Long> getRoleIdListForAdminId(Long adminId);

    /**
     * @param adminId
     * @return
     */
    public abstract List<String> getAdminRoleNameList(Long adminId);

    /**
     * 获取Admin编号
     *
     * @return
     */
    Integer getAdminIdInteger();

}
